﻿using System.ComponentModel.Composition;
using MEF_Test.Contracts;

namespace MEF_Test.VideoRenderer.LocalVideoRenderer
{
    [Export(typeof(IVideoRendererViewFactory))]
    public class VideoRendererViewFactory : IVideoRendererViewFactory
    {
        public IVideoRendererView Create(IVideoRendererViewModel videoRendererWindowViewModel)
        {
            return new LocalVideoRendererView(videoRendererWindowViewModel);
        }
    }
}